package test66;

import javax.swing.*;

public class Test {




    public static void main(String[] args) {
        Day day = new Day();
        day.set(2023, 1, 1);
        Car car = new Car("宝马", "黑", day);
        Day p = car.getD();
        System.out.println(p);
        p.set(1111, 6, 5);
        Day q = car.getD();
        System.out.println(q);
    }


}
